package com.hytc.mymall.braodcastreciver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class HeadIconChangeReceiver
  extends BroadcastReceiver
{
  private HeadChangeInteraction headChangeInteraction;
  
  public void onReceive(Context paramContext, Intent paramIntent)
  {
    if (paramIntent.getAction().endsWith("com.sz.ydgy.headicon.change"))
    {
      String str2 = paramIntent.getStringExtra("picture");
      this.headChangeInteraction.setHeadIcon(str2);
    }
    do
    {
//      return;
      if (paramIntent.getAction().endsWith("com.sz.ydgy.xsd.changes"))
      {
        this.headChangeInteraction.setText();
        return;
      }
    } while (!paramIntent.getAction().endsWith("com.sz.ydgy.username.change"));
    String str1 = paramIntent.getStringExtra("username");
    this.headChangeInteraction.setUsername(str1);
  }
  
  public void setHeadIconListener(HeadChangeInteraction paramHeadChangeInteraction)
  {
    this.headChangeInteraction = paramHeadChangeInteraction;
  }
  
  public static abstract interface HeadChangeInteraction
  {
    public abstract void setHeadIcon(String paramString);
    
    public abstract void setText();
    
    public abstract void setUsername(String paramString);
  }
}



/* Location:           C:\Users\Joker\Desktop\classes_dex2jar.jar

 * Qualified Name:     com.sz.ydgy.broadcastreceiver.HeadIconChangeReceiver

 * JD-Core Version:    0.7.0.1

 */